package org.telegram.bot.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.telegram.bot.domain.BotMenuLanguage;

/**
 * 菜单语言Mapper接口
 *
 * @author wyx
 * @date 2023-05-31
 */
public interface BotMenuLanguageMapper extends BaseMapper<BotMenuLanguage>
{

    /**
     * 查询菜单语言列表
     *
     * @param botMenuLanguage 菜单语言
     * @return 菜单语言集合
     */
    public List<BotMenuLanguage> selectBotMenuLanguageList(BotMenuLanguage botMenuLanguage);

    Integer languageExist(@Param("menuId") Long menuId,@Param("language") String language,@Param("languageId") String languageId);
}
